package com.ssms.dao;

import com.ssms.model.XjApply;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface XjApplyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(XjApply record);

    int insertSelective(XjApply record);

    XjApply selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(XjApply record);

    int updateByPrimaryKey(XjApply record);

    int checkRepeat(XjApply record);

    List<XjApply> selectPage(@Param("start") int start, @Param("size") int size,
                             @Param("searchValue") String searchValue,
                             @Param("stuId") Integer stuId,
                             @Param("clzIds") List<Integer> clzIds);

    int selectPageCount(@Param("searchValue") String searchValue,@Param("stuId") Integer stuId,@Param("clzIds") List<Integer> clzIds);
}